<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysTitleNameGroupBean.id}"/>
		<f:event type="preRenderView" listener="#{sysTitleNameGroupBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Title Name Group"/>

	<ui:define name="header">
		Sys Title Name Group
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Title Name Group
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysTitleNameGroupBeanSysTitleNameGroupTitleNameGroupNo" value="Title Name Group No:"/>
			<h:outputText id="sysTitleNameGroupBeanSysTitleNameGroupTitleNameGroupNo" value="#{sysTitleNameGroupBean.sysTitleNameGroup.titleNameGroupNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysTitleNameGroupBeanSysTitleNameGroupTitleNameGroupDescr" value="Title Name Group Descr:"/>
			<h:outputText id="sysTitleNameGroupBeanSysTitleNameGroupTitleNameGroupDescr" value="#{sysTitleNameGroupBean.sysTitleNameGroup.titleNameGroupDescr}"/>
			<h:outputText/>
			<h:outputLabel for="sysTitleNameGroupBeanSysTitleNameGroupSysTitleNames" value="Sys Title Names:"/>
			<h:dataTable id="sysTitleNameGroupBeanSysTitleNameGroupSysTitleNames" styleClass="data-table" value="#{forgeview:asList(sysTitleNameGroupBean.sysTitleNameGroup.sysTitleNames)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Title Name No"/>
					</f:facet>
					<h:link outcome="/sysTitleName/view">
						<f:param name="id" value="#{_item.titleNameNo}"/>
						<h:outputText id="itemTitleNameNo" value="#{_item.titleNameNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>